<template>
  <section id="home" class="hero-section">
    <div class="hero-bg"></div>
    <div class="container">
      <div class="row align-items-center">
        <div class="col-lg-6 hero-content">
          <h1 class="display-4 fw-bold mb-4 animate__animated animate__fadeInDown">考研数据一站式服务平台</h1>
          <p class="lead mb-5 animate__animated animate__fadeInUp animate__delay-1s">海量院校数据 · 智能分析推荐 · 精准录取预测 · 个性化备考方案</p>
          <div class="d-flex gap-3 animate__animated animate__fadeInUp animate__delay-2s">
            <router-link to="/register" class="btn btn-light btn-lg px-4 py-2">立即体验</router-link>
            <router-link to="/about" class="btn btn-outline-light btn-lg px-4 py-2">了解更多</router-link>
          </div>
        </div>
        <div class="col-lg-6 d-none d-lg-block animate__animated animate__fadeIn animate__delay-1s">
          <img src="@/assets/logo.png" alt="考研数据分析" class="img-fluid rounded shadow">
        </div>
      </div>
    </div>
  </section>
</template>

<script>
export default {
  name: 'HeroSection'
}
</script>

<style scoped>
.hero-section {
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 50px;
  }
}
</style>